package com.motorhome.manage.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author: John
 */
@Data
public class Car implements Serializable {

    private Long id;

    private String name;

    private String description;

    private Integer status;

    private String remark;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    private List<Price> prices;

    private String picUrl;

    private String viewUrl;

    private Float insurance;

    private int carNum;

    private String deviceId;

    private String deviceNumber;

    private String deviceName;

    private String flag;

}
